package com.hq.mapper;

import com.hq.entity.UserInfo;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

//    //测试数据库查询
//    UserInfo findById(Integer id);

    //登录查询
    UserInfo login(UserInfo user);

    //修改密码
    int changePwd(UserInfo user);
}
